package com.itheima.user.mapper;

import com.itheima.entity.pojo.Visitor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author :wujunjie
 * createTime :2022-12-20 20:57
 * description :
 */
@Mapper
public interface VisitorMapper {
    Boolean insertVisitor(@Param("visitor") Visitor visitor);

    List<Visitor> selectVisitorByUserId(@Param("userId") String userId);

    Boolean deleteVisitorById(@Param("id") String id);
}
